/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.TourCancelDTO;
import java.util.ArrayList;

/**
 *
 * @author nguyendat
 */
public interface TourCancelInterface {

    ArrayList<TourCancelDTO> readByAll();

    ArrayList<TourCancelDTO> findByCancelDate(String cancelDate);

    TourCancelDTO findById(int id);

    ArrayList<TourCancelDTO> findByTourCancelDto(TourCancelDTO dto);

    boolean create(TourCancelDTO dto);

    boolean update(TourCancelDTO dto);

    boolean delete(TourCancelDTO dto);

    boolean delete(int id);
}
